﻿using System.Windows.Input;

namespace Apps.Maps
{
    public class ZoomPan : MapToolsBase
    {
        public override void Show()
        {
            this.IsShowed = false;
            // 处理组件互斥操作。
            this.ExclusionWidget();
            if (ActiveMap == null) return;
            ActiveMap.Cursor = Cursors.Hand;
            if( mapService.OtherDraw != null )
                mapService.OtherDraw.IsEnabled = false;
            drawTool_mainMap.IsEnabled = false;
        }
        public override void Close() { }
    }
}
